export default class LoginRules {
  static accountRules = (required?: boolean, message?: string) => {
    return [
      {
        required,
        message,
        trigger: ["blur", "change"],
      },
    ];
  };
}
